#ifndef _INPUT_H
#define _INPUT_H

// Input class

#include <Windows.h>

class Input
{
	typedef struct Mouse
		{
			int x,y;
			bool left, right;
		};
	
	public:
		void SetKeyDown(WPARAM);
		void SetKeyUp(WPARAM);
	
		bool isKeyDown(int);

		void setMouseX(int);
		void setMouseY(int);
		int getMouseX();
		int getMouseY();

		void SetLeftMouseDown();
		void SetLeftMouseUp();
		bool isLeftMouseDown();

		void SetRightMouseDown();
		void SetRightMouseUp();
		bool isRightMouseDown();

	private:
		bool keys[256];
		bool leftMouse;
		bool rightMouse;

		Mouse mouse;
};
#endif